import request from '@/utils/request'

export default {
    queryPrimaryCategory(data) {
        return request({
            url: '/subject/category/queryPrimaryCategory',
            method: 'post',
            data: data
        });
    },
    queryCategoryByPrimary(data) {
        return request({
            url: '/subject/category/queryCategoryByPrimary',
            method: 'post',
            data: data
        });
    },
    getSubjectPage(data) {
        return request({
            url: '/subject/getSubjectPage',
            method: 'post',
            data: data
        });
    },
    querySubjectInfo(data) {
        return request({
            url: '/subject/querySubjectInfo',
            method: 'post',
            data: data
        });
    },
};
